package cn.e4j.modular.crm.entity;

import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.time.LocalDate;
import java.io.Serializable;

import org.springframework.format.annotation.DateTimeFormat;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author miaoyl
 * @since 2019-03-07
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWEC_T")
public class GwecT extends PO<GwecT> {

    private static final long serialVersionUID = 1L;

    private String GWEC001;

    private String GWEC009;

    private String GWEC015;

    private String GWEC105;

    @TableId(value = "GWECDOCNO", type = IdType.INPUT)
    private String GWECDOCNO;

    private String GWECMLEGAL;

    private String GWEC012;

    private String GWEC102;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWECDATE;

    private String GWECMODU;

    private String GWEC108;

    private String GWEC007;

    private String GWEC013;

    private String GWECORIG;

    private String GWECACTI;

    private String GWEC004;

    private String GWEC010;

    private String GWEC016;

    private String GWECCONF;

    private String GWEC005;

    @TableField(fill = FieldFill.INSERT)
    private String GWECUSER;

    private BigDecimal GWECSEQ;

    private String GWEC011;

    private String GWEC103;

    @TableField(fill = FieldFill.INSERT)
    private String GWECTIME;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWEC002;

    @TableField(fill = FieldFill.INSERT)
    private String GWECPLANT;

    private String GWEC008;

    private String GWEC106;

    @TableField(fill = FieldFill.INSERT)
    private String GWECORIU;

    private String GWEC003;

    @TableField(fill = FieldFill.INSERT)
    private String GWECLEGAL;

    private String GWEC101;

    private String GWEC107;

    @TableField(fill = FieldFill.INSERT)
    private String GWECGRUP;

    private String GWEC006;

    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWECDOCDATE;

    private String GWEC014;

    private String GWEC104;

    private String GWECENT;

    private BigDecimal GWEC018;

    private String GWEC021;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWEC022;

    private String GWEC023;

    private String GWEC024;



    @Override
    protected Serializable pkVal() {
        return this.GWECDOCNO;
    }

}
